﻿@model NavigatorBarModel
@{
    ViewBag.Title = "活动呼叫";
    Layout = "_DefaultReport";
}

@section css {

}

@section javascript {
    <script src="~/js/ActiveCalls.js" asp-append-version="true"></script>
}
@section query {
    <form class="form-inline">
        <div class="row">
            <div class="form-group col-sm-5 col-md-auto">
                当前时间：<span id="iTime" style="color: red;"> </span> 
            </div>
            <div class="form-group col-sm-5 col-md-auto">
                当前通话数：<span id="callnum" style="color: red;"> 0</span>
            </div>
            <div class="form-group col-sm-2 col-md-auto flex-md-fill justify-content-md-end">
                <button type="button" id="DisconnectAll"
                        class="stop btn-primary btn-fill align-self-sm-end align-self-md-auto">
                    <i class="" aria-hidden="true"></i><span>全部拆线</span>
                </button>
            </div>

        </div>
    </form>
}

@section body {
    @*<div class="alert alert-danger" role="alert" asp-condition="@Model.IsDemo">
            <span>演示系统禁止修改Admin账户</span>
        </div>*@
    @*<table id="DataGrid"></table>*@



}

@section modal {
    <div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
            <div class="modal-content" data-toggle="LgbValidate" data-valid-button="#btnSubmit" data-valid-modal="#dialogNew">
                <div class="modal-header">
                    <h5 class="modal-title" id="myModalLabel">转入座席</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                </div>
                <div class="modal-body">
                    <form class="form-inline">
                        <input type="hidden" id="uuid" />
                        <div class="row">
                            <div class="form-group col-sm-6">
                                <label class="control-label" for="roleName">分机号</label>
                                <input type="text" class="form-control" id="dest" placeholder="不可为空，50字以内" maxlength="50" data-valid="true" />
                            </div>

                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">
                        <i class="fa fa-times"></i>
                        <span>关闭</span>
                    </button>
                    <button type="button" class="ToAgentSb btn-primary" id="btnSubmit">
                        <i class="fa fa-save"></i>
                        <span>保存</span>
                    </button>
                </div>
            </div>
        </div>
    </div>


}

@section tableButtons{

    <button class="stop btn btn-info" style="float:left"><i class=""></i><span>拆线</span></button>
    &nbsp;
    <button class="Toagent btn btn-info" style="float:right"><i class=""></i><span>转入座席</span></button>

}